package com.aiyige.page.my.message.notifymessage.commentmessage.model;

/**
 * Created by zhuyakun on 2017/11/28.
 */

public class CommentMessage {
    String otherId;
    String goodsId;
    String goodsType;
    String otherCommentId;
    String otherName;
    String otherAvatar;
    String otherComment;
    String cover;
    long otherTime;
    String mediaTitle;
    long mediaReleaseDate;
    int targetType;
    String myAvatar;
    String myComment;
    String myName;
    String router;

    public CommentMessage() {
    }

    private CommentMessage(Builder builder) {
        setOtherId(builder.otherId);
        setGoodsId(builder.goodsId);
        setGoodsType(builder.goodsType);
        setOtherCommentId(builder.otherCommentId);
        setOtherName(builder.otherName);
        setOtherAvatar(builder.otherAvatar);
        setOtherComment(builder.otherComment);
        setCover(builder.cover);
        setOtherTime(builder.otherTime);
        setMediaTitle(builder.mediaTitle);
        setMediaReleaseDate(builder.mediaReleaseDate);
        setTargetType(builder.targetType);
        setMyAvatar(builder.myAvatar);
        setMyComment(builder.myComment);
        setMyName(builder.myName);
        setRouter(builder.router);
    }

    public static Builder newBuilder() {
        return new Builder();
    }

    public String getOtherId() {
        return otherId;
    }

    public void setOtherId(String otherId) {
        this.otherId = otherId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public String getOtherCommentId() {
        return otherCommentId;
    }

    public void setOtherCommentId(String otherCommentId) {
        this.otherCommentId = otherCommentId;
    }

    public String getOtherName() {
        return otherName;
    }

    public void setOtherName(String otherName) {
        this.otherName = otherName;
    }

    public String getOtherAvatar() {
        return otherAvatar;
    }

    public void setOtherAvatar(String otherAvatar) {
        this.otherAvatar = otherAvatar;
    }

    public String getOtherComment() {
        return otherComment;
    }

    public void setOtherComment(String otherComment) {
        this.otherComment = otherComment;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public long getOtherTime() {
        return otherTime;
    }

    public void setOtherTime(long otherTime) {
        this.otherTime = otherTime;
    }

    public String getMediaTitle() {
        return mediaTitle;
    }

    public void setMediaTitle(String mediaTitle) {
        this.mediaTitle = mediaTitle;
    }

    public long getMediaReleaseDate() {
        return mediaReleaseDate;
    }

    public void setMediaReleaseDate(long mediaReleaseDate) {
        this.mediaReleaseDate = mediaReleaseDate;
    }

    public int getTargetType() {
        return targetType;
    }

    public void setTargetType(int targetType) {
        this.targetType = targetType;
    }

    public String getMyAvatar() {
        return myAvatar;
    }

    public void setMyAvatar(String myAvatar) {
        this.myAvatar = myAvatar;
    }

    public String getMyComment() {
        return myComment;
    }

    public void setMyComment(String myComment) {
        this.myComment = myComment;
    }

    public String getMyName() {
        return myName;
    }

    public void setMyName(String myName) {
        this.myName = myName;
    }

    public String getRouter() {
        return router;
    }

    public void setRouter(String router) {
        this.router = router;
    }

    public static final class Builder {
        private String otherId;
        private String goodsId;
        private String goodsType;
        private String otherCommentId;
        private String otherName;
        private String otherAvatar;
        private String otherComment;
        private String cover;
        private long otherTime;
        private String mediaTitle;
        private long mediaReleaseDate;
        private int targetType;
        private String myAvatar;
        private String myComment;
        private String myName;
        private String router;

        private Builder() {
        }

        public Builder otherId(String otherId) {
            this.otherId = otherId;
            return this;
        }

        public Builder goodsId(String goodsId) {
            this.goodsId = goodsId;
            return this;
        }

        public Builder goodsType(String goodsType) {
            this.goodsType = goodsType;
            return this;
        }

        public Builder otherCommentId(String otherCommentId) {
            this.otherCommentId = otherCommentId;
            return this;
        }

        public Builder otherName(String otherName) {
            this.otherName = otherName;
            return this;
        }

        public Builder otherAvatar(String otherAvatar) {
            this.otherAvatar = otherAvatar;
            return this;
        }

        public Builder otherComment(String otherComment) {
            this.otherComment = otherComment;
            return this;
        }

        public Builder cover(String cover) {
            this.cover = cover;
            return this;
        }

        public Builder otherTime(long otherTime) {
            this.otherTime = otherTime;
            return this;
        }

        public Builder mediaTitle(String mediaTitle) {
            this.mediaTitle = mediaTitle;
            return this;
        }

        public Builder mediaReleaseDate(long mediaReleaseDate) {
            this.mediaReleaseDate = mediaReleaseDate;
            return this;
        }

        public Builder targetType(int targetType) {
            this.targetType = targetType;
            return this;
        }

        public Builder myAvatar(String myAvatar) {
            this.myAvatar = myAvatar;
            return this;
        }

        public Builder myComment(String myComment) {
            this.myComment = myComment;
            return this;
        }

        public Builder myName(String myName) {
            this.myName = myName;
            return this;
        }

        public Builder router(String router) {
            this.router = router;
            return this;
        }

        public CommentMessage build() {
            return new CommentMessage(this);
        }
    }
}
